import {QueryPage} from '@/api/common/type.ts'

// 角色数据类型
export interface SysRole {
    id:number | undefined;
    roleName:string;
    code:string;
}

// 分页查询角色列表请求
export interface RoleListParam extends QueryPage{
    roleName:string;
}

// 给角色分配菜单类型
export interface AssignMenuParam {
    roleId:number | undefined;
    permissionIdList:number[];
}

// 给角色分配数据权限
export interface RoleDataScopeParam {
    roleId:number | undefined;
    roleName: undefined,
    code:undefined,
    dataScope:number | undefined;
    deptIds: any [];
}
